package com.juyu.miliao.common.constant;

/**
 * @author xuanqicheng
 * @create 2018-24-11:29
 */
public interface QuestionAndAnswerRabbitMqInfo {

    /**
     * 延迟exchange
     */
    String DELAY_EXHANGE = "DELAY_EXCHANGE";
    /**
     *
     */
    String DELAY_ROUTING_KEY = "DELAY_QUESTION_ANSWER";
    /**
     * 支付订单的延迟队列的routingKey
     */
    String DELAY_PAY_ROUTING_KEY ="DELAY_STAT_ORDER_MESSAGE";

    /**
     * 死信exchange
     */
    String DEAD_EXCHANGE="DEAD_EXCHANGE";
    /**
     * 死信routingkey
     *  用于进行延时校验问题是否回答的routingKey
     */
    String DEAD_ROUTING_KEY= "DEAD_QUESTION_ANSWER";
    /**
     * 死信支付订单routingKey
     */
    String DEAD_PAY_ROUTING_KEY="DEAD_STAT_ORDER_MESSAGE";

    /**
     * 死信队列
     * 用于进行延时校验问题是否回答的队列
     */
    String DEAD_QUEUE="DEAD_QUESTION_ANSWER_QUEUE";
    /**
     * 死信支付队列
     */
    String DEAD_PAY_QUEUE="DEAD_STAT_ORDER_MESSAGE";


    /**
     * 更新问答缓存的exchange
     */
    String EXCHANGE_TO_UPDATE_QUESTION_ANSWER = "QUESTION_ANSWER_EXCHANGE";
    /**
     * 更新问答信息的routingKey
     */
   String ROUTING_KEY_TO_UPDATE_QUESTION_ANSWER="UPDATE_QUESTION_ANSWER";
    /**
     * 更新问答信息的队列
     */
   String QUEUE_TO_QUESTION_ANSWER_ID_QUEUE ="QUESTION_ANSWER_ID_QUEUE";
}
